< previous page page_287 next page >

Page 287
8160-0287a.gif
Figure 14.1
The DataCombo control.

DataCombo Common Properties
Youll use a few different properties to populate this control versus the standard combo box. The standard combo box control must be populated manually using the List property at design time or by invoking the AddItem method at runtime. The DataCombo control can be loaded via a connected data control. It can also be used to set the data in a related data control. This is controlled by the properties listed in Table 14.1.
Table 14.1 DataCombo Common Properties.
PropertyDescription
RowSourceThe name of the data control used to populate the list portion of the combo box. This means you need to add a data control to the form just for loading this combo box. Youll see the appropriate properties on this data control that will load the data into the DataCombo control.
ListFieldThe name of the field in the data control specified by the RowSource property used to populate the list portion of the DataCombo control.

(table continued on next page)

 
< previous page page_287 next page >

If you like this book, buy it!